home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3polygon.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_POLYGON_H = 1;
- include("oops/r3vector.js")
- include("real/objects/r3prim.js")
-
-
- var R3CLID_POLYGON = 1648;
-
-
-
-
- // Description: Set point in object space
- // Returns: Boolean, true if succeeded
- // p1: Integer, index
- // p3: r3Vect, point
-
- R3POLYGONM_SETPOINTLOCAL = 1648001;
-
- function mR3POLYGONM_SETPOINTLOCAL(p1, p3) {
- return DoA2(this.r3obj, 1648001, p1, R3TID_INTEGER, 0, p3, R3TID_VECTOR, 0);
- }
-
- // Description: Get point in object space
- // Returns: Boolean, true if succeeded
- // p1: Integer, index
- // p3: r3Vect, point
-
- R3POLYGONM_GETPOINTLOCAL = 1648002;
-
- function mR3POLYGONM_GETPOINTLOCAL(p1, p3) {
- return DoA2(this.r3obj, 1648002, p1, R3TID_INTEGER, 0, p3, R3TID_VECTOR, 0);
- }
-
-
-
-
- R3POLYGONA_Points = 1648500;
- function SetR3POLYGONA_Points(value) {
- R3Set(this.r3obj, R3POLYGONA_Points, value, R3TID_VECTOR, R3TNF_ARRAY);
- }
-
- function GetR3POLYGONA_Points() {
- return R3Get(this.r3obj, R3POLYGONA_Points, R3TID_VECTOR, R3TNF_ARRAY);
- }
-
- R3POLYGONA_Count = 1648501;
- function SetR3POLYGONA_Count(value) {
- R3Set(this.r3obj, R3POLYGONA_Count, value, R3TID_INTEGER, 0);
- }
-
- function GetR3POLYGONA_Count() {
- return R3Get(this.r3obj, R3POLYGONA_Count, R3TID_INTEGER, 0);
- }
-
- var R3POLYGONA_HasPointwiseColors = 1648503; // Boolean
- R3POLYGONA_ExtraCount = 1648504;
- function SetR3POLYGONA_ExtraCount(value) {
- R3Set(this.r3obj, R3POLYGONA_ExtraCount, value, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Polygon () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_POLYGON, arguments);
- }
- // Methods
- this.SETPOINTLOCAL=mR3POLYGONM_SETPOINTLOCAL;
- this.GETPOINTLOCAL=mR3POLYGONM_GETPOINTLOCAL;
-
- // Attributes
- this.GetPoints=GetR3POLYGONA_Points;
- this.SetPoints=SetR3POLYGONA_Points;
- this.GetCount=GetR3POLYGONA_Count;
- this.SetCount=SetR3POLYGONA_Count;
- this.SetExtraCount=SetR3POLYGONA_ExtraCount;
- }
-
- r3Polygon.prototype=new r3Primitive;
- // r3polygon.h_H